.legend {
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  z-index: 9;
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding:8px 14px;
  color: #fff;
  background-color: rgba(0,0,0,.4);
}
    .line {
        width: 100px;
        height: 4px;
        margin-right: 10px;
    }
  
    .actualLine {
        display: flex;
        align-items: center;
    }
    .actualLine .line {
      background-color: #ef5350;
  }
    .predictPath {

        display: flex;
        align-items: center;
    }
    .predictPath .line {
      background-color: #42A5F5;
  }
